/* v7全局自定义的element样式 */

/* 抽屉 */
.m7-drawer.el-drawer {
  .el-drawer__header {
    font-size: 14px;
    color: $fc-gray2;
    font-weight: 600;
    margin-bottom: 4px;
    padding: 12px 20px;
    box-shadow: 0px 0px 6px 0px rgba(3, 51, 39, 0.2);
    .el-drawer__close-btn {
      padding: 0;
    }
    .el-dialog__close {
      font-size: 16px;
      color: $icon-gray;
      font-weight: 500;
    }
  }
}
.m7-drawer.el-drawer.rtl {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

/* 表格 */
.m7-table .el-table{
  font-size:12px!important;
}
.m7-table .el-table .el-table__header-wrapper {
  border-radius:5px 5px 0 0;
}
.m7-table .el-table .el-table__fixed-right-patch {
  display:none;
  background:$bgc-gray;
}
.m7-table .el-table th.el-table-column--selection {
  padding-left:5px
}

/* 分页组件 */
.m7-pagination .el-pagination .el-pagination__total,.el-pagination .el-pagination__sizes .el-input__inner, .el-pagination .el-pagination__jump{
  color:$fc-gray3;
}

/* 表单 */
.m7-form.el-form.el-form--label-top .el-form-item__label{
  line-height: 12px;
  padding: 0 0 12px 0;
}
.m7-form .el-form-item--mini.el-form-item{
  margin-bottom: 24px;
}
/*form表单校验错误信息撑开父级*/
.m7-form.el-form .el-form-item__error {
  position: initial;
}

/* 输入框 */
.el-input .el-input__icon {
  font-size:15px;
}
.el-input .el-input__suffix {
  line-height:32px;
}
.el-input--prefix .el-input__inner {
  padding-left:30px;
}
.el-input .el-input__inner {
  padding-left:12px;
}
.el-input--prefix .el-input__inner {
  padding-left: 30px;
}
.el-input--mini .el-input__inner[type='number']{
  padding-right:1px;
}
.el-input--mini .el-input__inner{
  height: 32px;
  line-height: 32px;
}

/* 单选按钮 */
.el-radio .el-radio__label,.el-checkbox .el-checkbox__label{
  font-weight:400;
}

/* 按钮 */
.el-button--mini { // 存按钮
  height: 32px;
}
.el-button .V7_iconfont { // 按钮带着icon
  padding-right: 4px;
}

/* 模态框 */
.el-dialog__wrapper .el-dialog{
  border-radius: 6px;
}
.el-dialog__wrapper .el-dialog .el-dialog__body{
  padding: 24px;
}

/* 开关 */
.el-switch .el-switch__label.is-active,.el-switch .el-switch__label{
  color:$fc-gray3;
}
.el-switch .el-switch__core{
  width:34px!important;
}

/* 提示框 */
.el-tooltip__popper.is-dark{
  box-shadow: 0px 4px 29px 0px rgba(155, 165, 172, 0.46);
  border-radius: 4px;
}

/* 下拉框 */
.el-dropdown-menu .el-dropdown-menu__item{
  height:34px !important;
  line-height:34px !important;
}
.el-dropdown-menu .el-dropdown-menu__item--divided:before {
  height:0;
}

/* 标签 */
.el-tag.el-tag--info {
  background:$bgc-gray;
  color:$c-main;
}
.el-tag .el-tag__close.el-icon-close{
  color: $c-main!important;
  background: #bcdef7!important;
}

/* message 层级*/
// 全局的messagebox 往下挪，留出电话条的操作位置，不遮挡~
.el-message {
  z-index: 99999 !important;
  top: 52px !important;
}

.el-select-dropdown__item {
  font-size: 12px;
}

// mp相关的弹窗，不遮挡电话条
div[data-name*="apass-micro"] .v-modal, .el-dialog__wrapper.mp-micro, .el-dialog__wrapper,.empty-dialog{
  height: calc(100% - 55px) !important
  top: 55px !important
}

// 提升电话条的zindex层级
.plus-popover {
  z-index: 2020 !important
}